package com.ng.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户表 DTO
 *
 * @author Ng
 * @date 2024/03/07
 */
@Data
@ApiModel(value = "用户", description = "用户 DTO")
public class UserDTO implements Serializable {

    @ApiModelProperty("用户 ID")
    private Long userId;

    @ApiModelProperty("账号")
    private String userName;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("性别 0:男 1:女 2:未知")
    private Short sex;
}
